using AiQiuQuan.Sport.Model.Enums;

namespace AiQiuQuan.Sport.WebApi.Entities
{
    /// <summary>
    /// 课程
    /// </summary>
    public class Course : BaseEntity
    {
        /// <summary>
        /// 课程名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 1次数课程、2期间课程、3活动课程
        /// </summary>
        public CourseTypeEnum CourseType { get; set; }

        /// <summary>
        /// 课程图片
        /// </summary>
        public string HeadUrl { get; set; }

        /// <summary>
        /// 场馆ID
        /// </summary>
        public Guid? VenueId { get; set; }

        /// <summary>
        /// 场馆名称
        /// </summary>
        public string VenueName { get; set; }

        /// <summary>
        /// 地点名称
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 省ID
        /// </summary>
        public Guid ProvinceId { get; set; }

        /// <summary>
        /// 省名
        /// </summary>
        public string ProvinceName { get; set; }

        /// <summary>
        /// 市ID
        /// </summary>
        public Guid CityId { get; set; }

        /// <summary>
        /// 市名
        /// </summary>
        public string CityName { get; set; }

        /// <summary>
        /// 经度
        /// </summary>
        public decimal Lng { get; set; }

        /// <summary>
        /// 纬度
        /// </summary>
        public decimal Lat { get; set; }

        /// <summary>
        /// 课程状态：1销售中、2停止销售
        /// </summary>
        public CourseStateEnum State { get; set; }

        /// <summary>
        /// 课程介绍
        /// </summary>
        public string Introduction { get; set; }

        /// <summary>
        /// 是否展示
        /// </summary>
        public bool IsShow { get; set; }

        /// <summary>
        /// 是否推荐
        /// </summary>
        public bool IsRecommend { get; set; }

        /// <summary>
        /// 教练数量
        /// </summary>
        public int CoacherCount { get; set; }
    }
}
